package com.ficus.road.maintain.core.model.zh;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @author xiawen yang
 * @date 2022/7/15 下午4:57
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class DiseaseLocationZH {

    private List<List<DiseaseLocationResponse>> diseaseList;

    private String version;

    private List<DebuggerInfo> debuggerInfo;

    @Data
    public static class DiseaseLocationResponse {
        private String diseaseid;

        private String roadid;

        private String roadname;

        private String startlocationdesc;

        private String endlocationdesc;

        private String roadtype;

        private String roadgrade;

        private String roadlength;

        private String departid;

        private String unitid;

        //没有落在40条大中修路段返回的数据
        private String mileage;
    }

    @Data
    public static class DebuggerInfo {
        private String roadid;

        private double mileage;
    }
}
